interface SBoard
{
	   command void init();

	   // --- I/O expander functions
	   command void readIOs();
	   async event void readDoneIO( uint8_t );

	   command void writeIOs( uint8_t );
	   command void writeIO( uint8_t, bool );
	   command void setBeeper( bool );
	  
	   command void setStepMode( uint8_t );		//not implemented
	   command void stepTo( uint16_t );				//not implemented
	   command void stepCW();
	   command void stepCCW();
	   command void halfStepCW();
	   command void halfStepCCW();
	   command uint8_t getCurrentStep();

	   // --- AD/DA converter functions
	   command void readPhotoVoltage();
	   command void readChannel1();
	   command void readChannel2();
	   command void readChannel3();

	   command void readChannel( uint8_t );
	   command void writeValue( double );
	   async event void readDoneADC( uint8_t, double );

	   // --- LED dimmer functions
	   command void setControl0( double, double );
	   command void setControl1( double, double );
	   command void setBrightness0( double );
	   command void setBrightness1( double );
	   command void laserOn();
	   command void laserOff();
	   command void laserToggle();
	   command void laserBlink( uint8_t );
	   command void redOn();
	   command void redOff();
	   command void redToggle();
	   command void redBlink( uint8_t );
	   command void yellowOn();
	   command void yellowOff();
	   command void yellowToggle();
	   command void yellowBlink( uint8_t );
	   command void greenOn();
	   command void greenOff();
	   command void greenToggle();
	   command void greenBlink( uint8_t );
}

